1.3. Protocol endpoints
The protocol includes the following endpoints:
â„– | Parameter | Description |
---|---|---|
1 | /sale | Send sales invoice to SmartOne Cashbox for payment and fiscalization |
2 | /refund | Send a refund invoice |
3 | /rollback | Send invoice cancellation |
4 | /order | Sending the order document |
5 | /prepay | Sending a prepaid invoice to SmartOne Cashbox |
6 | /creditpay | Sending a loan repayment invoice to SmartOne Cashbox |
7 | /check_status | Checking the status of the account (only when working with the cash register) |
8 | /x_report | X report |
9 | /open_shift | Open shift |
10 | /close_shift | Close shift |
11 | /check_shift | Check shift status |
12 | /deposit | Deposit to the cashier |
13 | /withdraw | Collection |
14 | /get_info | Getting information from a token |
15 | /control_tape | Print a control tape |
16 | /correction | Period correction |
17 | /last_document | Get the last document |
18 | /dates_report | Report for the period |
19 | /preorder | Printing the preliminary invoice receipt. |
20 | /check_copy | Printing a copy of the receipt |